package com.example.demo1122.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo1122.domain.ResponseResult;
import com.example.demo1122.entity.Classstu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2023-12-19
 */
public interface IClassstuService extends IService<Classstu> {
    ResponseResult addStudentToClass(String studentID, Integer classID);

    boolean deleteStudentFromClass(Integer classID, String studentID);

    boolean deleteStudentClasses(List<Classstu> keys);

    boolean existsClassId(Integer classID);
}
